<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>响应式</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
	    <style type="text/css">
	        	
	    </style>
	</head>
	<body>
		<!--
			什么是框架？
			1、框架一般只会实现比较通用的功能 (项目的半成品)
			2、热门框架使用的人员比较多，社区比较健全
			3、优点：快速开发，对设计要求不高（例如后台管理界面）
			
		-->
		<!--栅格系统-->
		<div class="container">
			<!--行-->
			<div class="row">
				<div class="col-xs-4">1</div>
				<div class="col-xs-4">2</div>
				<div class="col-xs-4">3</div>
			
			</div>
			<!--手机端：1列式  平板端：2列式 PC端：4列式-->
			<div class="row">
                <div class="col-xs-12 col-sm-6 col-lg-3">example01</div>
                <div class="col-xs-12 col-sm-6 col-lg-3">example02</div>
                <div class="col-xs-12 col-sm-6 col-lg-3">example03</div>
                <div class="col-xs-12 col-sm-6 col-lg-3">example04</div>
			</div>
			<!--列的偏移-->
			<div class="row">
				<div class="col-md-4">4列</div>
				<div class="col-md-4 col-md-offset-4">4列</div>
			</div>
			<!--列的排序   原理：利用定位left和right，注意叠放的问题-->
			<div class="row">
				<div class="col-md-9 col-md-push-3">3</div>
				<div class="col-md-3 col-md-pull-9">9</div>
			</div>
			<div class="row">
				<div class="col-xs-12 col-sm-8">描述内容</div>
				<div class="col-sm-4 hidden-xs">装饰内容</div>
			</div>
		</div>
		<!--<div class="container">
			<p>bootstrap</p>
		</div>-->
		<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Brand</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
        <li><a href="#">Link</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>
      </ul>
      <form class="navbar-form navbar-left">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">Submit</button>
      </form>
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#">Link</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">简体中文</a></li>
            <li><a href="#">繁体中文</a></li>
            <li><a href="#">English</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<script src="jquery-2.1.0.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js">
	
</script>
	</body>
</html>
